/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package z.h.w.jar.arithmetic.method;

/**
 *
 * @author EnzoZhong @date 2011.10.30
 */
public interface SearchMethodApi {

   /**
    *
    */
   SearchMethodApi ENU = new SearchEnu();
   /**
    *
    */
   SearchMethodApi DICHOTOMY = new SearchDichotomy();

   /**
    *
    * @param <Type>
    * @param array
    * @param target
    *
    * @return
    */
   <Type extends Comparable<? super Type>> Integer search ( Type[] array , Type target );
}
